package com.ruoyi.ftrl.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 小区管理信息对象 community_info
 * 
 * @author dihang
 * @date 2024-07-08
 */
public class CommunityInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 所属片区id */
    @Excel(name = "所属片区id")
    private Long areaId;

    /** 所属片区 */
    @Excel(name = "所属片区")
    private String areaName;

    /** 所属热力站id */
    @Excel(name = "所属热力站id")
    private Long heatId;

    /** 所属热力站 */
    @Excel(name = "所属热力站")
    private String heatName;

    public void setAreaId(Long areaId)
    {
        this.areaId = areaId;
    }

    public Long getAreaId()
    {
        return areaId;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setHeatId(Long heatId)
    {
        this.heatId = heatId;
    }

    public Long getHeatId()
    {
        return heatId;
    }
    public void setHeatName(String heatName)
    {
        this.heatName = heatName;
    }

    public String getHeatName()
    {
        return heatName;
    }

    /** 主键id */
    private Long id;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String name;

    /** 小区面积 */
    @Excel(name = "小区面积")
    private BigDecimal area;

    /** 小区类型（存字典） */
    @Excel(name = "小区类型", readConverterExp = "存=字典")
    private String type;

    /** 建筑结构（存字典） */
    @Excel(name = "建筑结构", readConverterExp = "存=字典")
    private String buildingStructure;

    /** 小区高度 */
    @Excel(name = "小区高度")
    private Long height;

    /** 小区地址 */
    @Excel(name = "小区地址")
    private String address;

    /** 单元总数 */
    @Excel(name = "单元总数")
    private Long unitCount;

    /** 用户总数 */
    @Excel(name = "用户总数")
    private Long userCount;

    /** 楼栋总数 */
    @Excel(name = "楼栋总数")
    private Long buildingCount;

    /** 所属部门id */
    @Excel(name = "所属部门id")
    private Long deptId;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String dept;

    /** 供热单位 */
    @Excel(name = "供热单位")
    private String heatUnit;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 物业负责人 */
    @Excel(name = "物业负责人")
    private String person;

    /** 物业电话 */
    @Excel(name = "物业电话")
    private String phone;

    /** 高区高度（层） */
    private String high;

    /** 低区高度（层） */
    private String low;

    /** 平均温度 */
    private String field3;

    /** 进水温度 */
    private String field4;

    /** 回水温度 */
    private String field5;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setBuildingStructure(String buildingStructure) 
    {
        this.buildingStructure = buildingStructure;
    }

    public String getBuildingStructure() 
    {
        return buildingStructure;
    }
    public void setHeight(Long height) 
    {
        this.height = height;
    }

    public Long getHeight() 
    {
        return height;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setUnitCount(Long unitCount) 
    {
        this.unitCount = unitCount;
    }

    public Long getUnitCount() 
    {
        return unitCount;
    }
    public void setUserCount(Long userCount) 
    {
        this.userCount = userCount;
    }

    public Long getUserCount() 
    {
        return userCount;
    }
    public void setBuildingCount(Long buildingCount) 
    {
        this.buildingCount = buildingCount;
    }

    public Long getBuildingCount() 
    {
        return buildingCount;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDept(String dept) 
    {
        this.dept = dept;
    }

    public String getDept() 
    {
        return dept;
    }
    public void setHeatUnit(String heatUnit) 
    {
        this.heatUnit = heatUnit;
    }

    public String getHeatUnit() 
    {
        return heatUnit;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setPerson(String person) 
    {
        this.person = person;
    }

    public String getPerson() 
    {
        return person;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public String getHigh() {
        return high;
    }

    public void setHigh(String high) {
        this.high = high;
    }

    public String getLow() {
        return low;
    }

    public void setLow(String low) {
        this.low = low;
    }

    public void setField3(String field3)
    {
        this.field3 = field3;
    }

    public String getField3() 
    {
        return field3;
    }
    public void setField4(String field4) 
    {
        this.field4 = field4;
    }

    public String getField4() 
    {
        return field4;
    }
    public void setField5(String field5) 
    {
        this.field5 = field5;
    }

    public String getField5() 
    {
        return field5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("area", getArea())
            .append("type", getType())
            .append("buildingStructure", getBuildingStructure())
            .append("height", getHeight())
            .append("address", getAddress())
            .append("unitCount", getUnitCount())
            .append("userCount", getUserCount())
            .append("buildingCount", getBuildingCount())
            .append("deptId", getDeptId())
            .append("dept", getDept())
            .append("heatUnit", getHeatUnit())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("person", getPerson())
            .append("phone", getPhone())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("high", getHigh())
            .append("low", getLow())
            .append("field3", getField3())
            .append("field4", getField4())
            .append("field5", getField5())
                .append("areaId", getAreaId())
                .append("areaName", getAreaName())
                .append("heatId", getHeatId())
                .append("heatName", getHeatName())
            .toString();
    }
}
